package controller;

public class HandleMapping {
	public static Controller getController(String command)	{
		
		Controller controller = null;

		if (command.equals("req1")) {
			// 요청1 controller
			controller = new Request1Controller();
		} else if (command.equals("req2")) {
			// 요청2 controller
			controller = new Request2Controller();
		} else if (command.equals("req3")) {
			controller = new Request3Controller();
		} else if(command.equals("link")) {
			controller = new UrlLinkController();
		}
		return controller;
		
	}
}
